From: Carlos Garnacho Date: Wed, 25 May 2022 18:54:39 +0000 (+0200) Subject: edgeDragAction: Change edge trigger threshold to AFTER X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~461^2^2~335 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1fa5c63307e03d806eacdcf14d31e63afc27af20;p=gnome-shell.git edgeDragAction: Change edge trigger threshold to AFTER For all instances of this gesture, we want this gesture to activate after some distance, not to eat button presses/releases right away. Part-of: --- diff --git a/js/ui/edgeDragAction.js b/js/ui/edgeDragAction.js index 986b658e0..c0f9e4edd 100644 --- a/js/ui/edgeDragAction.js +++ b/js/ui/edgeDragAction.js @@ -19,6 +19,7 @@ var EdgeDragAction = GObject.registerClass({ this._side = side; this._allowedModes = allowedModes; this.set_n_touch_points(1); + this.set_threshold_trigger_edge(Clutter.GestureTriggerEdge.AFTER); global.display.connect('grab-op-begin', () => this.cancel()); }